<% for column in Material.content_columns %>
<p>
  <b><%= column.human_name %>:</b> <%=h @material.send(column.name) %>
</p>
<% end %>

<%= link_to 'Edit', :action => 'edit', :id => @material %> |
<%= link_to 'Back', :action => 'show', :controller => 'suppliers', :id => @supplier %>
